package com.zj.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class MyUser {
    @TableId(value = "userId")
    private Long userId;
    @TableField(value = "userName")
    private String userName;
    @TableField(value = "gender")
    private Integer gender;
    @TableField(value = "userPassword")
    private String userPassword;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "email")
    private String email;
    @TableField(value = "userStatus")
    private Integer userStatus;
    @TableField(value = "headUrl")
    private String headUrl;
    @TableField(value = "roles")
    private String roles;
}
